.PHONY:all
all:tcpserverd tcpclient
tcpserverd:main.cc
	g++ -o $@ $^ -std=c++11 -lpthread
tcpclient:tcp_client.cc
	g++ -o $@ $^ -std=c++11

.PHONY:clean
clean:
	rm -f tcpserverd tcpclient
	
